package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Courses3Mapper;
import com.ruoyi.system.domain.Courses3;
import com.ruoyi.system.service.ICourses3Service;

/**
 * 课程表3Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Courses3ServiceImpl implements ICourses3Service 
{
    @Autowired
    private Courses3Mapper courses3Mapper;

    /**
     * 查询课程表3
     * 
     * @param courseId 课程表3主键
     * @return 课程表3
     */
    @Override
    public Courses3 selectCourses3ByCourseId(Integer courseId)
    {
        return courses3Mapper.selectCourses3ByCourseId(courseId);
    }

    /**
     * 查询课程表3列表
     * 
     * @param courses3 课程表3
     * @return 课程表3
     */
    @Override
    public List<Courses3> selectCourses3List(Courses3 courses3)
    {
        return courses3Mapper.selectCourses3List(courses3);
    }

    /**
     * 新增课程表3
     * 
     * @param courses3 课程表3
     * @return 结果
     */
    @Override
    public int insertCourses3(Courses3 courses3)
    {
        return courses3Mapper.insertCourses3(courses3);
    }

    /**
     * 修改课程表3
     * 
     * @param courses3 课程表3
     * @return 结果
     */
    @Override
    public int updateCourses3(Courses3 courses3)
    {
        return courses3Mapper.updateCourses3(courses3);
    }

    /**
     * 批量删除课程表3
     * 
     * @param courseIds 需要删除的课程表3主键
     * @return 结果
     */
    @Override
    public int deleteCourses3ByCourseIds(Integer[] courseIds)
    {
        return courses3Mapper.deleteCourses3ByCourseIds(courseIds);
    }

    /**
     * 删除课程表3信息
     * 
     * @param courseId 课程表3主键
     * @return 结果
     */
    @Override
    public int deleteCourses3ByCourseId(Integer courseId)
    {
        return courses3Mapper.deleteCourses3ByCourseId(courseId);
    }
}
